package com.gemme.gemme.view;

import java.util.List;

/**
 * @Author: yangcheng
 * @CreateDate: 2020/9/10 17:46
 */
public class HomeBannerBean {

    /**
     * code : 0
     * msg : null
     * data : {"records":[{"id":7,"isMaster":0,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-10a5544b55-6c11-48f3-83e7-def5939dff99_1.png","createBy":1,"createTime":"2020-09-10 12:01:41","updateBy":null,"updateTime":null,"delFlag":0},{"id":8,"isMaster":7,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-1036ca6705-6f5a-4138-8003-6e90bdf3e71d_1-img.png","createBy":4,"createTime":"2020-09-10 12:04:20","updateBy":4,"updateTime":"2020-09-10 14:30:48","delFlag":0},{"id":9,"isMaster":100000,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-1036fd9a3c-45e5-4ba6-83c6-b223530d57f6_2.png","createBy":4,"createTime":"2020-09-10 13:35:39","updateBy":4,"updateTime":"2020-09-10 14:07:57","delFlag":0},{"id":10,"isMaster":0,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-103f92d66f-de70-4247-8e14-a5e587abfb55_3.png","createBy":4,"createTime":"2020-09-10 13:48:47","updateBy":4,"updateTime":null,"delFlag":0},{"id":11,"isMaster":10,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-10053095be-9472-42a3-8aeb-7af888264111_3-img.png","createBy":4,"createTime":"2020-09-10 13:50:09","updateBy":4,"updateTime":null,"delFlag":0}],"total":5,"size":10,"current":1,"orders":[],"hitCount":false,"searchCount":true,"pages":1}
     */

    private int code;
    private Object msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * records : [{"id":7,"isMaster":0,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-10a5544b55-6c11-48f3-83e7-def5939dff99_1.png","createBy":1,"createTime":"2020-09-10 12:01:41","updateBy":null,"updateTime":null,"delFlag":0},{"id":8,"isMaster":7,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-1036ca6705-6f5a-4138-8003-6e90bdf3e71d_1-img.png","createBy":4,"createTime":"2020-09-10 12:04:20","updateBy":4,"updateTime":"2020-09-10 14:30:48","delFlag":0},{"id":9,"isMaster":100000,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-1036fd9a3c-45e5-4ba6-83c6-b223530d57f6_2.png","createBy":4,"createTime":"2020-09-10 13:35:39","updateBy":4,"updateTime":"2020-09-10 14:07:57","delFlag":0},{"id":10,"isMaster":0,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-103f92d66f-de70-4247-8e14-a5e587abfb55_3.png","createBy":4,"createTime":"2020-09-10 13:48:47","updateBy":4,"updateTime":null,"delFlag":0},{"id":11,"isMaster":10,"picUrl":"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-10053095be-9472-42a3-8aeb-7af888264111_3-img.png","createBy":4,"createTime":"2020-09-10 13:50:09","updateBy":4,"updateTime":null,"delFlag":0}]
         * total : 5
         * size : 10
         * current : 1
         * orders : []
         * hitCount : false
         * searchCount : true
         * pages : 1
         */

        private int total;
        private int size;
        private int current;
        private boolean hitCount;
        private boolean searchCount;
        private int pages;
        private List<RecordsBean> records;
        private List<?> orders;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(boolean hitCount) {
            this.hitCount = hitCount;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsBean {
            /**
             * id : 7
             * isMaster : 0
             * picUrl : https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-09-10a5544b55-6c11-48f3-83e7-def5939dff99_1.png
             * createBy : 1
             * createTime : 2020-09-10 12:01:41
             * updateBy : null
             * updateTime : null
             * delFlag : 0
             */

            private int id;
            private int isMaster;
            private String picUrl;
            private int createBy;
            private String createTime;
            private Object updateBy;
            private Object updateTime;
            private int delFlag;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIsMaster() {
                return isMaster;
            }

            public void setIsMaster(int isMaster) {
                this.isMaster = isMaster;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public int getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(int delFlag) {
                this.delFlag = delFlag;
            }
        }
    }
}
